home *** CD-ROM | disk | FTP | other *** search
/ Inside Indy 1993 / Inside Indy 1993.iso / demos / WorkShop / inst.root < prev    next >
Encoding:
Text File  |  1993-06-23  |  724 b   |  28 lines

  1. #!/bin/csh
  2.  
  3. # Env variable for WorkShop directory
  4. setenv WSDIR /CDROM/demos/WorkShop
  5.  
  6. # Set path for product installation
  7. setenv PRODUCT_PATH $WSDIR/WorkShop
  8.  
  9. # Indicate product to be installed
  10. echo "Installing WorkShop..."
  11.  
  12. # If products exists in the history database, remove history
  13. if (-e /usr/lib/inst/WorkShop) /bin/rm -f /usr/lib/inst/WorkShop
  14. if (-e /usr/lib/inst/CaseVision) /bin/rm -f /usr/lib/inst/CaseVision
  15.  
  16. # Install product
  17. /usr/sbin/inst -af $PRODUCT_PATH
  18.  
  19. # Install license
  20. if (-e /usr/lib/inst/license) /bin/rm -f /usr/lib/inst/license
  21. setenv PRODUCT_PATH $WSDIR/license
  22. /usr/sbin/inst -af $PRODUCT_PATH
  23.  
  24. # Put demo test file in "rantest" directory
  25. /bin/cp -r $WSDIR/test0000 /usr/demos/WorkShop/rantest
  26.  
  27.  
  28.